﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body>
    <script type="text/javascript">
        var x = 3, y = 4;
        //Assuming the circle is with center (0,0) and radius 5.
        var hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2));
        var check = hyp < 5;
        document.writeln(check ? "The point is in the circle." : "The point is out of the circle.");
    </script>
</body>
</html>
